package greedysnake;

import javax.swing.*;

/**
 * @author zxl
 * @version 1.0
 * @date 2021/10/30 15:21
 */
public class StartGame {
    public static void main(String[] args) {
        JFrame frame = new JFrame();

        frame.setBounds(10,10,900,720);
        frame.setResizable(false);
        frame.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);

        //正常游戏界面都应该在面上！

        frame.add(new GamePanel());
        frame.setVisible(true);

    }
}
